home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / CLIPPER5.TEC < prev    next >
Text File  |  1992-03-13  |  4KB  |  118 lines

  1. ID:C5 Clipper API library & Clipper 5.0
  2. Quarterdeck Technical Note #181
  3. by API Technical Support Team
  4.  
  5. Re: Upgrading the API Library for Clipper to Clipper 5.0
  6. To: Clipper API developers
  7.  
  8. Quarterdeck has definite plans to upgrade the DESQview API Library for Clipper 
  9. to provide full support for Clipper 5.0.  Although no release date has been 
  10. set, beta testing should begin early in November after the Fall Comdex.
  11.  
  12. Nevertheless, the current API LIbrary version 1.01 (designed to support 
  13. Clipper Summer '87) can be easily modified to support Clipper 5.0.  All you 
  14. need to do is modify the DVAPI.LIB library file.  Perform the following 
  15. general steps:
  16.  
  17.   Install the Clipper UDFs onto your hard disk.
  18.   Recompile all the Clipper UDFs with Clipper 5.0 to create
  19.     new OBJ files.
  20.   Create a response file for the LIB.EXE library manager.
  21.   Use LIB.EXE to remove EXTOR.OBJ from DVAPI.LIB and replace
  22.     the old UDFs within DVAPI.LIB with the new 5.0 OBJs.
  23.  
  24. Note that the "C" and Assembler UDFs within DVAPI.LIB require no changes.
  25.  
  26. Take the following steps to convert the DVAPI.LIB library file to work with 
  27. Clipper 5.0:
  28.  
  29. 1. If not already done, install the library's Clipper source files (*.PRG) 
  30.    from the "Clipper Source" disk:
  31.  
  32.    Create a C:\DVAPI\PRG subdirectory under C:\DVAPI.
  33.    Log onto that subdirectory.
  34.    Insert the "Clipper Source" disk into drive A:.
  35.    Execute the self-extracting PRG.EXE PKUNZIP file:
  36.  
  37.      a:prg.exe
  38.  
  39. This will unzip all the PRG files into C:\DVAPI\PRG.
  40.  
  41. 2. Recompile all the PRG files with Clipper 5.0.  Create and run  the 
  42.    following batch file MKOBJS.BAT containing:
  43.  
  44.    for %%f in (p_*.prg) do clipper %%f -m
  45.  
  46. This will create a P_*.OBJ file for each P_*.PRG file.
  47.  
  48. 3. Log onto C:\DVAPI where DVAPI.LIB should reside and create a DVAPIPRG.RSP 
  49.    response file for Microsoft's LIB.EXE containing:
  50.  
  51.    DVAPI
  52.    -c\EXTOR&
  53.    -+prg\P_APPRUN&
  54.    -+prg\P_FLDATG&
  55.    -+prg\P_FLDATP&
  56.    -+prg\P_FLDATS&
  57.    -+prg\P_KEYACC&
  58.    -+prg\P_KEYCLE&
  59.    -+prg\P_KEYINK&
  60.    -+prg\P_KEYINP&
  61.    -+prg\P_KEYKEY&
  62.    -+prg\P_KEYLAS&
  63.    -+prg\P_KEYNEX&
  64.    -+prg\P_KEYREA&
  65.    -+prg\P_KEYSET&
  66.    -+prg\P_KEYWAI&
  67.    -+prg\P_QRYFTA&
  68.    -+prg\P_WINACH&
  69.    -+prg\P_WINATB&
  70.    -+prg\P_WINATC&
  71.    -+prg\P_WINATG&
  72.    -+prg\P_WINATP&
  73.    -+prg\P_WINATS&
  74.    -+prg\P_WINATT&
  75.    -+prg\P_WINBRO&
  76.    -+prg\P_WINCCO&
  77.    -+prg\P_WINCLE&
  78.    -+prg\P_WINCLG&
  79.    -+prg\P_WINCSC&
  80.    -+prg\P_WINDAT&
  81.    -+prg\P_WINDBE&
  82.    -+prg\P_WINMAR&
  83.    -+prg\P_WINMEN&
  84.    -+prg\P_WINREA&
  85.    -+prg\P_WINRES&
  86.    -+prg\P_WINSAV&
  87.    -+prg\P_WINSET
  88.    NUL
  89.    DVAPI
  90.  
  91. 4. Remove EXTOR.OBJ from DVAPI.LIB (with Clipper 5.0 it has been added to 
  92.    CLIPPER.LIB) and replace the old Summer '87 P_*.OBJ files within 
  93.    DVAPI.LIB with the new 5.0 P_*.OBJ files:
  94.  
  95.    Execute LIB.EXE with the DVAPIPRG.RSP response file:
  96.  
  97.      lib @dvapiprg.rsp
  98.  
  99. This creates a new DVAPI.LIB file which supports 5.0. You may now recompile 
  100. your source programs with Clipper 5.0 and relink with RTLink for Clipper 5.0.
  101.  
  102. Beware!  The initial release of Clipper 5.0 has some major bugs due mostly to 
  103. its VMM.  So, don't call Quarterdeck if you have problems executing Clipper 
  104. 5.0 programs linked with your new DVAPI.LIB.
  105.  
  106. For further information, contact:
  107.  
  108.   API Technical Support
  109.   Quarterdeck Office Systems
  110.   (310) 392-9701 Phone
  111.   (310) 314-3217 Fax
  112.  
  113.   ************************************************************************
  114.   *This technical note may be copied and distributed freely as long as it*
  115.   *is distributed in its entirety and it is not distributed for profit.  *
  116.   *         Copyright (C) 1990-2 by Quarterdeck Office Systems           *
  117.   ************************ E N D   O F   F I L E *************************
  118.